package ooo.reindeer.commons.concurrent;

public class Watch<T, R> {
    void afterWork(T workTask, R returnObject, Object... params) {
    }

    void beforeWork(T workTask, Object... params) {
    }

    R onThrow(T workTask, Throwable e, Object... params) throws Throwable {
        e.printStackTrace();
        throw e;
    }
}
